<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<html lang="zh-CN">
	<head>
		<meta charset="UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>管理员</title>
		<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
		integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
		<link rel="stylesheet" href="../../static/css/index_log.css">
<%--		<link rel="stylesheet" href="../../static/css/index.css">--%>
	</head>
	<body>

	<div class="login">
		<h2>管理员登录</h2>
		<form action="${pageContext.request.contextPath}/admin/doLogin.html"  method="post">
			<div class="login_box">
				<!-- required就是不能为空  必须在css效果中有很大的作用 -->
				<input type="text" name='username' id='name' required  />
				<label for="name" >用户名</label>
			</div>
			<div class="login_box">

				<input type="password" name='password' id='pwd' required="required">
				<label for="pwd">密码</label>
			</div>
			<span style="color: red">${error}</span>
			<input  class="btn btn-info" type="submit" value="登录">
			<span></span>
			<span></span>
			<span></span>
			<span></span>
			</a>
		</form>
	</div>


		
	</body>
</html>
